import axios from "axios"

// 假设返回的是(function() { return '123'}())
export const fetchData = () => {
  console.log('real fetchData')
  return axios.get('http://www.dell-lee.com/react/api/demo.json').then(res => res.data)
}

export const getNumber = () => {
  return 123
}
